package com.comcast.core.eeg.types;

import java.util.Arrays;

public class Result implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

    public Result() {}

	private java.lang.Boolean succeeded;
    private com.comcast.core.eeg.types.ErrorMessage[] errors;
    
    public Result(java.lang.Boolean succeeded) {
        this.succeeded = succeeded;
    }

    public Result(java.lang.Boolean succeeded, com.comcast.core.eeg.types.ErrorMessage[] errors) {
        this.succeeded = succeeded;
        this.errors = errors;
    }

    public java.lang.Boolean getSucceeded() {
        return this.succeeded;
    }

    public void setSucceeded(java.lang.Boolean succeeded) {
        this.succeeded = succeeded;
    }
 
    public com.comcast.core.eeg.types.ErrorMessage[] getErrors() {
        return this.errors;
    }

    public void setErrors(com.comcast.core.eeg.types.ErrorMessage[] errors) {
        this.errors = errors;
    }

	@Override
	public String toString() {
		return "Result [succeeded=" + succeeded + ", errors="+ Arrays.toString(errors) + "]";
	}

}